<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>活动管理--赠品活动列表</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <link rel="stylesheet" href="/css/input_tags.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/daterangepicker.css" />
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/js/need/verfont.css"/>
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/activityManager/productGiftForm.css"/>
</head>
<body>
<div class="container-fluid clue-page">
    <div class="card">
        <div class="card-header">
            <h1>赠品活动列表</h1>
        </div>
        <div class="card-body">
            <div class="row content-action">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <button type="button" class="btn btn-label btn-success m-0" onclick="addProductGiftActivity()"><label><i class="mdi mdi-plus-circle-outline"></i></label>新增赠品</button>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <div class="pull-right">
                        <div class="min-search pull-left">
                            <input class="form-control" type="text" placeholder="请输入赠品活动名称" id="giftActivityNameMin" name="giftActivityNameMin" autocomplete="off">
                            <button class="btn btn-primary" type="button" id="btn-search-simple"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                        </div>
                        <button class="btn btn-default btn-senior" data-toggle="collapse" data-target="#filterContent" aria-expanded="false" aria-controls="filterContent"><i class="mdi mdi-sort-variant"></i>高级筛选</button>
                    </div>
                </div>
            </div>
            <div class="collapse filter-content" id="filterContent">
                <div class="row">
                    <div class="form-group col-lg-2 col-md-3 col-sm-4 col-xs-12">
                        <label for="productName">产品名称</label>
                        <div>
                            <input class="form-control" id="productName" name="productName" type="text" placeholder="请输入产品名称" autocomplete="off">
                        </div>
                    </div>
                    <div class="form-group col-lg-2 col-md-2 col-sm-4 col-xs-12">
                        <label for="giftCategorySelect">赠品类别</label>
                        <div>
                            <select id="giftCategorySelect" name="giftCategory" class="form-control">
                                <option value="">全部</option>
                                <option value="产品类">产品类</option>
                                <option value="价格类">价格类</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group col-lg-2 col-md-3 col-sm-4 col-xs-12">
                        <label for="giftCategorySelect">活动价格区间</label>
                        <div class="input-group">
                            <input type="text" class="form-control" id="giftActivityPriceStart" name="giftActivityPriceStart" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                            <span class="input-group-addon">-</span>
                            <input type="text" class="form-control" id="giftActivityPriceEnd" name="giftActivityPriceEnd" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')">
                        </div>
                    </div>
                    <div class="form-group col-lg-3 col-md-4 col-sm-4 col-xs-12">
                        <label for="giftActivityPeriodValidity">活动起止时间</label>
                        <div>
                            <input type="text" id="giftActivityPeriodValidity" class="form-control" placeholder="请选择" autocomplete="off">
                        </div>
                    </div>
                    <div class="form-group col-lg-3 col-md-12 col-sm-8 col-xs-12">
                        <label class="hidden-md">&nbsp;</label>
                        <div class="text-right">
                            <button type="button" class="btn btn-primary" id="btn-search"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                            <button type="button" class="btn btn-default" id="btn-reset">重置</button>
                        </div>
                    </div>
                </div>
            </div>
            <table id="customerProductGiftActivityTableList"></table>
        </div>
    </div>
</div>

<!--赠品活动查看弹出窗-->
<div class="modal fade detail-modal" id="detailProductGiftActivityContent" tabindex="-1" role="dialog" aria-labelledby="detailModal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">活动详情</h4>
            </div>
            <div class="modal-body clearfix">
                <div class="pull-left activity-status">
                    <img src="/images/activity-icon.jpg" alt="">
                    <span class="icon"></span>
                    <p>状态：<span class="status-text"></span></p>
                </div>
                <div class="activity-info"></div>
                <div class="activity-gift clearfix">
                    <h6>赠品列表</h6>
                    <p class="clearfix"></p>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/input-tag.js"></script>
<script src="/js/crm/common/city.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<script type="text/javascript" src="/js/crm/common/dataRangePicker.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>
<!-- 拖动table列 -->
<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>

<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/activityManager/productGiftForm.js"></script>
</html>